#pragma once

#include "fxcc/core/BaseImporter.h"

#include "e2d/ui/ShaderMetaCacheFile.h"

struct ShaderImporter :public BaseImporter
{
	static ShaderMetaCacheFile m_CacheFiles;
	
	static std::string m_CacheFilePath;
	
	static std::string m_GlslDir;

	bool ImportFile(const fxcc::File& file)  override;

	bool ImportFragCode(const fxcc::File& fragFile);

	static bool LoadCache();

	static bool SaveCache();

};